/*
 * DogDoor.h
 *
 *  Created on: 2013-1-14
 *      Author: Administrator
 */

#ifndef DOGDOOR_H_
#define DOGDOOR_H_
#include "Bark.h"
#include <vector>

class DogDoor {
public:
	DogDoor();
	~DogDoor();
	void open();
	void close();
	bool isOpen();
	void addAllowedBark(const Bark& bark);
	const std::vector<Bark>& getAllowedBarks();

private:
	bool _isOpen;
	std::vector<Bark> _allowedBarks;
};
#endif /* DOGDOOR_H_ */
